760b62a22186e2a7d5fb40b62058d33801d63a44,src/me/ryanhamshire/griefprevention/event/EntityEventHandler.java,EntityEventHandler,onEntityMove,#MoveEntityEvent#,580

Before Change


            return;
        }

        Claim fromClaim = this.dataStore.getClaimAt(event.getFromTransform().getLocation(), false, null);
        Claim toClaim = this.dataStore.getClaimAt(event.getToTransform().getLocation(), false, null);

        User user = player != null ? player : owner;

After Change


            return;
        }

        Location<World> fromLocation = event.getFromTransform().getLocation();
        Location<World> toLocation = event.getToTransform().getLocation();
        Claim fromClaim = this.dataStore.getClaimAt(fromLocation, false, null);
        Claim toClaim = this.dataStore.getClaimAt(toLocation, false, null);

        User user = player != null ? player : owner;